<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="stylesheet" href="login.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <div class="container">
        <!-- 顶部标题 -->
        <div class="top-nav">
            <h1>医疗服务平台</h1>
        </div>

        <!-- 登录区域 -->
        <div class="login-container">
            <div class="login-header">
                <img src="https://picsum.photos/100/100" alt="Logo" class="login-logo">
                <h2>用户登录</h2>
                <p>欢迎使用医疗服务平台</p>
            </div>

            <form id="loginForm" class="login-form" onsubmit="event.preventDefault(); login();">
                <div class="form-group">
                    <div class="input-icon">
                        <i class="fas fa-user"></i>
                        <input type="text" id="username" name="username" placeholder="请输入用户名/手机号">
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-icon">
                        <i class="fas fa-lock"></i>
                        <input type="password" id="password" name="password" placeholder="请输入密码">
                    </div>
                </div>
                
                <div class="form-options">
                    <div class="remember-me">
                        <input type="checkbox" id="remember" name="remember">
                        <label for="remember">记住我</label>
                    </div>
                    <a href="#" class="forgot-password">忘记密码?</a>
                </div>

                <button type="submit" class="login-btn">登录</button>

                <div class="register-link">
                    <span>还没有账号?</span>
                    <a href="/demo/register/register.html">立即注册</a>
                </div>
            </form>

        </div>

        <!-- 版权信息 -->
        <div class="footer">
            <p>© 2023 医疗服务平台 版权所有</p>
        </div>
    </div>
    <script src="login.js"></script>
</body>
</html> 